package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 购物车表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Carts对象", description="购物车表")
public class Carts implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "店铺id")
    private Integer shopId;

    @ApiModelProperty(value = "商品类型")
    private String productType;

    @ApiModelProperty(value = "商品id")
    private Integer productId;

    @ApiModelProperty(value = "sku id")
    private Integer skuId;

    @ApiModelProperty(value = "加入购物车时人民币价格")
    private Integer moneyPrice;

    @ApiModelProperty(value = "加入购物车时积分价格")
    private Integer scorePrice;

    @ApiModelProperty(value = "数量")
    private Integer total;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
